package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "interviewrecord")
public class Interviewrecord {
    /**
     * 面试记录 ID
     */
    @TableId(value = "Interview_Record_ID", type = IdType.AUTO)
    private Integer interviewRecordId;

    /**
     * 面试安排ID，绑定面试安排
     */
    @TableField(value = "Interview_scheduling_ID")
    private Integer interviewSchedulingId;

    /**
     * 候选人编号，绑定简历表
     */
    @TableField(value = "Candidate_number")
    private Integer candidateNumber;

    /**
     * 面试内容
     */
    @TableField(value = "Interview_content")
    private String interviewContent;

    /**
     * 面试开始时间
     */
    @TableField(value = "Interview_start_time")
    private Date interviewStartTime;

    /**
     * 面试结束时间
     */
    @TableField(value = "Interview_end_time")
    private Date interviewEndTime;

    /**
     * 面试次数
     */
    @TableField(value = "Number_of_interviews")
    private Integer numberOfInterviews;

    /**
     * 面试评价
     */
    @TableField(value = "Interview_evaluation")
    private String interviewEvaluation;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 面试结果（通过 / 未通过 / 待定）
     */
    @TableField(value = "Interview_results")
    private String interviewResults;

    /**
     * 面试官编号
     */
    @TableField(value = "Interviewer_number")
    private Integer interviewerNumber;

    /**
     * 面试类型（线上，线下）
     */
    @TableField(value = "Interview_type")
    private String interviewType;

    @TableField(exist = false)
    private Candidateresume candidateresume;
}